Skip to main content

k8s prometheus

kube-prometheus-stack

helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo update

helm install kube-prometheus-stack prometheus-community/kube-prometheus-stack -n prometheus

获取密码

kubectl get secret -n prometheus kube-prometheus-stack-grafana -o=jsonpath='{.data.admin-password}'|base64 -d


得到用户名密码:admin/prom-operator